home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
cstdio.arc
/
SRC.ARC
/
OUTW.A
< prev
next >
Wrap
Text File
|
1985-06-10
|
321b
|
21 lines
; _outw.a - output word to port.
; (C) Copyright 1985 Gregory R. Mansfield - All Rights Reserved.
; G. R. Mansfield. 85/01/16.
; Ver 1.0-5611.
cseg
public _outw_
; _outw(data, port)
; WORD data;
; int port;
_outw_: pop bx ; return
pop ax ; data
pop dx ; port
sub sp,4
out dx,ax
jmp bx